<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div style="display: none"><script id="myEditorImage" type="text/plain"></script></div> 
<div class="pageContent">
	<form method="post" action="${rootUrl}/goods/attr-value/${attrValue.id}" class="pageForm required-validate" onsubmit="return validateCallback(this, editDialogAjaxDone);">
	   <c:if test="${attrValue.id != 0 && attrValue.id != '' }"><input type="hidden" name="_method" value="put"></c:if> 
		<input type="hidden" name="attrClassId" value="${attrValue.attrClass.id }"> 
		<div class="pageFormContent" layoutH="56">
		    <p>
		         <label>商品属性名称：</label>  
				 <input name="attrValue.attrClass.name" class="required" readOnly="readonly" type="text" size="30" value="${attrValue.attrClass.name}"/>
			</p>  
			<p>
				<label>商品属性值名称：</label>
				<input name="attrValue.name" class="required" type="text" size="30" value="${attrValue.name }" />
			</p>
		
			<p>
				<label>是否展示：</label>
				<select name="attrValue.isShow" class="required combox">	
					<option <c:if test="${attrValue.isShow == 1}">selected="selected"</c:if> value="1">是</option>
					<option <c:if test="${attrValue.isShow == 0}">selected="selected"</c:if> value="0">否</option>
				</select>
			</p>		
		
			   <p>
				<label>排序：</label>
				<input  name="attrValue.sort" class="required" type="text" size="30" value="${attrValue.sort}" />
			</p>
			
			
   		 </div>
    	<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button id="theSubmit" type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
    </form>

</div>